package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Region;
import cn.wolfcode.trip.base.mapper.RegionMapper;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.RegionQueryObject;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface IRegionService {

   List<Region> selectList(RegionQueryObject qo);
   List<Region> selectAll();


    void saveOrUpdate(Region region);

    List<Region> listHot(Integer state);
}
